package com.lzz.bottomencapsulation.view.activity.needone;

import android.widget.BaseAdapter;

import com.lzz.bottomencapsulation.mvp.BasePresenter;
import com.lzz.bottomencapsulation.mvp.BaseView;

import java.util.ArrayList;


/**
 * MVPPlugin
 * 邮箱 784787081@qq.com
 */

public class NeedOneContract {
    interface View extends BaseView {

        void showProgress(int currentLength);//显示下载进度

        void setImageAdapter(BaseAdapter adapter);//设置图片适配器
    }

    interface Presenter extends BasePresenter<View> {

        void downlodeZip(String zipUrl);//下载压缩文件

        void readZip();//读取压缩文件

        String getZipPath();//获取zip文件路径

        ArrayList<String> getImagesPath();//获取图片资源路径
    }
}
